package cn.yh.shop.product.model;
import java.sql.Timestamp;

/**
 * TImg entity. @author MyEclipse Persistence Tools
 */

public class Img implements java.io.Serializable {

	// Fields

	/**
	 * @Description: serialVersionUID : TODO
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer goodsId;
	private String path;
	private Integer postion;
	private Boolean isShow;
	private String addPeopleName;
	private Timestamp addTime;
	private String altPeopleName;
	private Timestamp altTime;

	// Constructors

	/** default constructor */
	public Img() {
	}

	/** minimal constructor */
	public Img(Integer godsId, String path, Integer postion) {
		this.goodsId = godsId;
		this.path = path;
		this.postion = postion;
	}

	/** full constructor */
	public Img(Integer godsId, String path, Integer postion, Boolean isShow,
			String addPeopleName, Timestamp addTime, String altPeopleName,
			Timestamp altTime) {
		this.goodsId = godsId;
		this.path = path;
		this.postion = postion;
		this.isShow = isShow;
		this.addPeopleName = addPeopleName;
		this.addTime = addTime;
		this.altPeopleName = altPeopleName;
		this.altTime = altTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGodsId() {
		return this.goodsId;
	}

	public void setGodsId(Integer godsId) {
		this.goodsId = godsId;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Integer getPostion() {
		return this.postion;
	}

	public void setPostion(Integer postion) {
		this.postion = postion;
	}

	public Boolean getIsShow() {
		return this.isShow;
	}

	public void setIsShow(Boolean isShow) {
		this.isShow = isShow;
	}

	public String getAddPeopleName() {
		return this.addPeopleName;
	}

	public void setAddPeopleName(String addPeopleName) {
		this.addPeopleName = addPeopleName;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public String getAltPeopleName() {
		return this.altPeopleName;
	}

	public void setAltPeopleName(String altPeopleName) {
		this.altPeopleName = altPeopleName;
	}

	public Timestamp getAltTime() {
		return this.altTime;
	}

	public void setAltTime(Timestamp altTime) {
		this.altTime = altTime;
	}

}